package com.aspose.cells;

import java.util.ArrayList;

class zuu extends zbz {
   ArrayList a;

   zuu(int var1) {
      this.b = var1;
      this.c(23);
      this.b(2);
      this.a = new ArrayList();
   }

   void a(zqa var1) throws Exception {
      this.a((short)(2 + this.a.size() * 2));
      int var2;
      if (this.a.size() < 4107) {
         var1.a(this.f());
         var1.a(this.d());
         var1.b(this.a.size() / 3);

         for(var2 = 0; var2 < this.a.size(); ++var2) {
            var1.b((Integer)((Integer)this.a.get(var2)));
         }
      } else {
         var1.a(this.f());
         var1.a((short)8210);
         var1.b(this.a.size() / 3);

         for(var2 = 0; var2 < 4104; ++var2) {
            var1.b((Integer)((Integer)this.a.get(var2)));
         }

         var2 = 4104;
         int var3 = this.a.size() - var2;

         while(true) {
            var1.c(60);
            int var4;
            if (var3 <= 4110) {
               var1.a((short)(var3 * 2));

               for(var4 = 0; var4 < var3; ++var4) {
                  var1.b((Integer)this.a.get(var2 + var4));
               }
               break;
            }

            var1.a((short)8220);

            for(var4 = 0; var4 < 4110; ++var4) {
               var1.b((Integer)((Integer)this.a.get(var2 + var4)));
            }

            var2 += 4110;
            var3 = this.a.size() - var2;
         }
      }

   }
}
